<template>
  <div>
    <mavon-editor :toolbars="tools" :subfield="false" :defaultOpen="'preview'" v-model="introdution"/>
  </div>
</template>
<script>
export default {
  name:"Introduction",
  methods:{
  },
  data(){
    return {
      introdution:"",
      tools:{
        navigation: true
      }
    };
  },
  created:function(){
    let me = this;
    console.log("路由是啥=",me.$route);
    me.getRequest("/static/md/teachingreform.md",{}).then(resp=>{
      if(resp.status ==200){
        me.introdution = resp.data;
      }
    });
  }
}
</script>
<style lang="scss">

</style>
